package cn.yza.设计模式.适配器模式.Test;

/**
 * @author Honglixi
 * @create 2021-10-28 15:46
 */
public class Adapter implements ITarget{

    private Adaptee adaptee;

    public Adapter(Adaptee adaptee) {
        this.adaptee = adaptee;
    }

    @Override
    public void request() {
        this.adaptee.ARequest();
    }
}
